Improve makePlots utility