im writing an applescript that will create in iphoto an album for each of my photo directories, and add the photos in the directories to the album. its not that difficult from what i see so far but i want to be able to add the script to automator. how do i create a script so that it can be used in automator?