add gnuplot to initialize, correct diag_form.html path