Update RAW APPLESCRIPT CODE