internet check

Added a check for internet connectivity. Script will abort, if not
online.