Added a -min-mean option