More secure way of handling multi-environment setups