Fixed some formatting stuff, get sudo password early... works pretty good.