adds support for the new environment flag
Merge pull request #1 from republicwireless/feature/envflag

adds support for the new environment flag