refactored the MetaImageImporter