Fixed production bug
Merge pull request #225 from stefk/env-bug-fix

Fixed production bug