fixed environmental variable lookup for deployment
Merge pull request #39 from jamesyothers/master

fixed environmental variable lookup for deployment