Only execute script if osascript exists.