implement sh.BakeEnv and sh.ClearEnv