ruby script for generating team member insert queries