diff --git a/ModFile.cc b/ModFile.cc
index 2b2c684bdb2ef67b50541ff81aa487bb135a3216..05c7bce25fd712ebb938de01abe51ba2b92fc496 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -1104,11 +1104,12 @@ ModFile::writeExternalFilesJulia(const string &basename, FileOutputType output)
                << "#" << endl
                << "# NB: this file was automatically generated by Dynare" << endl
                << "#     from " << basename << ".mod" << endl
-               << "#" << endl
+               << "#" << endl << endl
                << "using DynareModel" << endl
                << "using DynareOptions" << endl
-               << "using DynareOutput" << endl
+               << "using DynareOutput" << endl << endl
                << "using Utils" << endl
+               << "using SteadyState" << endl << endl
                << "using " << basename << "Static" << endl
                << "using " << basename << "Dynamic" << endl
                << "if isfile(\"" << basename << "SteadyState.jl"  "\")" << endl
@@ -1197,7 +1198,7 @@ ModFile::writeExternalFilesJulia(const string &basename, FileOutputType output)
                << "    using " << basename << "DynamicParamsDerivs" << endl
                << "    model_.dynamic_params_derivs = " << basename << "DynamicParamsDerivs.params_derivs" << endl
                << "end" << endl
-               << "end" << endl;
+	       << "end" << endl;
   jlOutputFile.close();
   cout << "done" << endl;
 }