So you're saying if you run your current login script, the InGroup()works, but if you run the same group check in your new script it doesn't?