add environment constraints
Merge pull request #52 from Matchbook/env_constraints

Add environment constraints