using the more portable env
Merge pull request #1 from jaytaph/env

using the more portable env