repaired gnuplot thing to acctually create files