start removing interaction with os.environ