add applescript mode