Modified createGroupVars.pl