move sudo setup to the bottom