Fix bug where ENV is only retrieved 1 time ever

Fixes #1
updates for release