Please post using the Instant UBB Code Tags to preserve your code formatting when posting.

You can try launching your script with the /F switch, and also try adding the Domain name to the InGroup check.

If InGroup("Your Domain\JMME-General")