diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
index c4ad3a8426fb44a4eca442004d2f524cc3da567c..19206fc2b559670d62febcf698286079fe1849be 100644
--- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
@@ -50,6 +50,9 @@
     "mem_cells = 0  # leave memory cells equal 0, as it is saved in control information starting 2019.\n",
     "bias_voltage = 180  # will be overwritten by value in file\n",
     "\n",
+    "# Parameters for plotting\n",
+    "skip_plots = False  # exit after writing corrected files\n",
+    "\n",
     "# TODO: Remove\n",
     "db_module = [\"\"]  # ID of module in calibration database, this parameter is ignore in the notebook. TODO: remove from calibration_configurations.\n",
     "\n",
@@ -512,6 +515,18 @@
     "step_timer.print_summary()"
    ]
   },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "if skip_plots:\n",
+    "    print('Skipping plots')\n",
+    "    import sys\n",
+    "    sys.exit(0)"
+   ]
+  },
   {
    "cell_type": "code",
    "execution_count": null,