working state, added env params to switch casses, still need to solve option argument for groups