added applescript example