add applescript implementation