added adry run for prgramsParamsURl
applied Dry on the generatHtmlPogramStats() function