added script to replace text