use osascript to kill app