hopefully fixed an error when resetting doPlot to false when running deployed on the LISA without a DISPLAY environment variable