now complete script.m, with mean, median and mode