updated the way environment variables
Merge pull request #4 from maxwe789/snapshot-ver

updated the way environment variables