better initialization of instances
run apt-get update before installing packages