tomd/gcarlyle: rather than preceding every line with sudo, just ask the user to run this script as root