First I'd ask... why not use avast! NetClient, instead of avast! Professional, and control it via ADNM?
This way, there would be no need for special scripts, you could change the settings on all (or part of) the clients simultaneously, restrict the access to program settings, possibly update the computers from a local mirror instead of the Internet, etc.