adding automatic intranet detection