added msgperc script