Modified gnuplot script