Changed Applescript format to text