Added the ability to dynamically switch configs