since you can't install sudo as a non-root user, the script needs to be run as root in order to install it.