add launchctl for mac