The command in the documentation was wrong and didn't run the script with elevated privileges. This one does.