Changed imports and progress bar display.