you can sudo just about anything so why not just sudo your file to do the setup