Changed logic to look at network location and act accordingly - instead of changing the network location itself