using of env fixes
Merge branch 'master' into chrome_popup