Optimized the flash importer a lot.