diff --git a/ComputingTasks.cc b/ComputingTasks.cc
index c7fc6bffba2d31c2f97842c5b4a209e92144ade5..f9cd15acdbbe63d3257ff3558f47c7b3d3e8416c 100644
--- a/ComputingTasks.cc
+++ b/ComputingTasks.cc
@@ -1225,9 +1225,9 @@ PlotConditionalForecastStatement::writeOutput(ostream &output, const string &bas
 {
   symbol_list.writeOutput("var_list_", output);
   if (periods == -1)
-    output << "plot_icforecast(var_list_);" << endl;
+    output << "plot_icforecast(var_list_,[],options_);" << endl;
   else
-    output << "plot_icforecast(var_list_, " << periods << ");" << endl;
+    output << "plot_icforecast(var_list_, " << periods << ",options_);" << endl;
 }
 
 SvarIdentificationStatement::SvarIdentificationStatement(const svar_identification_restrictions_t &restrictions_arg,