implemented a jobs system to get the progress bar working.