Add the PathReplacer
Fix for replacePaths()