added code to plot server stats