adding progress bar script -- to be finished