Adding funtionality to increase the number of progress bars given the parameters