Just to clarify which I didn't really have time to do yesterday. GrpNetworks Doesn't actually give you the gateway of the machine. It actually replaces about 4 steps of the program - one of which is getting the gateway. :)
Runs loads faster than what I had written too (big surprise)