Added AppleScript wrapper.