add plot.fitted script fragment