In addition Nigel stated that he was in fact new to the scripting world and as such I would for sure point him toward the SSC method which is a sure fire way to push the client... if connectivity is lost the grc.dat file can be pushed out and this will fix that issue.. and that would be a much easier script.
_________________________
Austin Henderson