fix import script logging and error messages