fix gnuplot script