Modified the gnuplot script