Fix launchd script