Do some debugging!

Put DEBUG ON into the first line of your code and step through the code. Check what INGROUP returns for the different users. Make sure to refresh the token cache as explained in the Manual. Make sure that the script actually runs. Test it all from the command line.
_________________________
There are two types of vessels, submarines and targets.