Adding a copy of custom_env.