add a plotting script