Merlin's replace config