Added intermediate attribute to progressbar