switched to text applescript