main script updated so that if no max is provides in Normal dist it would be mean+5*stdev