Wrapping the script in an AppleScript application