Missed a reference to environment.
Merge pull request #202 from klynton/master

Missed a reference to environment.