Added apt-get update to start of script AND conditional if not exist for hadoop download