Corrections to ShellCommand (environment variables); GnuPlot-Template edited