Added flags for sudo and overriding user. Also adding a nice little whoami test script.