use os::getenv to get env variable