getting closer to finishing the progress bar for import_images.py