Moving to applescript