Add sudo to the shell commands

..so that they can be readily pasted