Added root macro to make plots.