Network check

Check to see if network connectivity is available before running script- if we can't connect to the internet, how can we update!