Mac Automator and Applescript