Altered reithproxies script to look at network location and proxy settings before deciding what to change