compiles applescript