Move commands which require sudo to the end of the install script.