Merge pull request #202 from klynton/master

Missed a reference to environment.