Make AppleScript launchers work better under OS X Yosemite