Or you can run the script, select it in the script editor, and MMB drag it onto the shelf... EDIT: The other way is probably better since you can then name the script...