Getting the environment right