move exportEnv cli-mode from utility2.js2 to utility2.js