Is there a way to externalize mongodb connection info

@lenny1972 please use backticks (`) rather than stars to highlight code. As you can see in your post, some of the code is unreadable.

Can you share exactly how you have configured the Change node?

You don't need to edit functionGlobalContext to expose process.env these days. In the function node you can use env.get("test").