add print_env_content(). print hierarchy environment name.