Fixing os.environ usage.