Fix launchd update
Check if we are run as root