added a check to see if the script is being run as root.. also chmod +x'd the script