AppleScript is funny.