proper sudo setup for global script.