updates to importer code