Scripts for mean values, correct time measuring are added