Changed Action to use AppleScript instead of Terminal Command.