Reboot refactored. Sudo password now optional.