I hate AppleScript. The worst scripting language ever.