added progress bar function calls in the scripts