Add replace text in template sample