Make config directories configurable, properly merge local overrides and update templates.