Merge pull request #1029 from kozec/master

Add STNOUPGRADE environment variable to prevents autoupgrades
Add kozec