changed to getenv