added first version of script to fill in synonyms