Add AppleScript support