Added curl installation and sudo-itization of a couple of commands