use os.environ instead of a file