Check for osascript