there is no way to avoid that with simple scripting.
I've used to strip every group user belongs to and then check if that group has separate script or section to call.

then, if you have groups that user can't be in more than one of them, this kind of stuff you can work out with select-case.

cheers,
_________________________
!

download KiXnet