adding SetEnv for posterity