OSX: Update applescript