Think I know what it is ... your using those friggin weird qurly-double-quotes thingies that are in some of the kixtart examples ... for example your example (from the error message):

If InGroup (“Educate Group”,”Research-Institute Group”)

try this ... edit your script and try over-typing each double-quote with another "fresh" double-quote and re-running the script.