Add script to plot data or dump as JSON