Added team generation to the interpreter