moved apt-get to run before the install part