better loading of Env (might be too naive)