added apt-get update at the start