Properly make sure we have networking before the script is run.