More AppleScript
Allow app to work on Lion