added progressbar script. to turn into module.