Added sudos to some commands and a -y to the apt commands.
Added newer, simplified version of the private key generate process.