Added configuration in the replace block