Made config work in a cascading way instead of a top level replacement