iTerm AppleScript interaction