add replaceConfig to pipeline