Added sudo statements, default run without sudo. Moved some things around to split deb/rpm stuff in future versions.