added script for replacing synonyms