You can remove the "sudo" from the commands, then run the whole script with sudo from the command prompt. You'll still need a password though. I haven't played around with sudoers enough to know how...