Can you use some other function to find the node based on some criteria? The node id can be different per env.