reboot after script finishes
remove sudo from shutdown as we are already in sudo mode