diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
index 4ed46d2eadd3495eb3d228a1390d8cd6221119c0..166257f9e088a5ee95c16d1b341ac4d6acf3c11f 100644
--- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
+++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb
@@ -183,7 +183,6 @@
     "from cal_tools.step_timing import StepTimer\n",
     "from cal_tools.tools import (\n",
     "    calcat_creation_time,\n",
-    "    display_shutter_config,\n",
     "    map_modules_from_folder,\n",
     "    module_index_to_qm,\n",
     "    write_constants_fragment,\n",
@@ -521,10 +520,13 @@
     "        get_data = {'auto': litfrm.read_or_process, 'offline': litfrm.process, 'online': litfrm.read}\n",
     "        r = get_data[use_litframe_finder]()\n",
     "        cell_sel = LitFrameSelection(r, train_ids, max_pulses, energy_threshold, use_super_selection)\n",
-    "        print(f\"{cell_sel.msg()}/n\")\n",
+    "        print(f\"{cell_sel.msg()}\\n\")\n",
     "        cell_sel.print_report()\n",
     "        if np.count_nonzero(r.nLitFrame.value) == 0:  # No lit frames.\n",
-    "            display_shutter_config(dc, instrument, karabo_id_control)\n",
+    "            warning(\n",
+    "                \"Warning: No lit frames identified using AGIPD LitFrameFinder.\"\n",
+    "                \" Offline correction will not be performed.\")\n",
+    "            sys.exit(0)\n",
     "    except LitFrameFinderError as err:\n",
     "        warning(f\"Cannot use AgipdLitFrameFinder due to:\\n{err}\")\n",
     "        cell_sel = CellRange(max_pulses, max_cells=mem_cells)\n",