run osascript via sudo