Updating the script to do apt-get update as the first step