Fuse -
On a final note, perhaps the script can execute without the evaluation of IF INGROUP (x) <> 0? Generally, for me syntax of IF INGROUP (x) [do something] ENDIF works propery. But, of course, depends on group names and memberships at local and domain levels in your environment. Mine are unique, so works easily for me.

Good luck.

Bill