validate  type
Merge pull request #20 from sophaskins/validate

validate env_var