removed unnecessary call to apt-get upgrade and added -y flags to auto-accept