updates launchctl commands for Yosemite
checks if Yosemite