Prototype of Create Groups script