Fix for env.rb hooks
Merge pull request #8 from pmorie/dev/upgrade_analysis

Fix for env.rb hooks