Added better support for synonyms to import script.