added -y to one of the apt-get to make it automatic