Added a progress bar and made use of bulk import.