does this look correct? so this script will run and close it's self out so the windows disappears after making those connections?

If InGroup("oracle")
Use o: "\\porcl\oracle"

Endif
If InGroup("hs622_printers")
$rc = AddPrinterConnection("\\srvprn01\hs622hp4")
$rc = AddPrinterConnection("\\srvprn01\hs622lj4000")
$rc = SetDefaultPrinter("\\srvprn01\hs622lj4000")

EndIf