Bulk import rewrite