change get_environment by name