minor changes in the import script