Refactor doInitialImport into own method to allow for better testing