insert a plotting script