changed back to getenv