adding setGroup() command for script