Added ability to refine and override global configuration