diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
index 8aee1ac01698ad49dfa214d937779f92acb06c16..fe2bf60c680b98502ad5cd403f21dcde6dd21bf8 100644
--- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
@@ -679,10 +679,18 @@
     "\n",
     "    if mdata is None or data is None:\n",
     "        timestamp = \"Not found\"\n",
+    "        filepath = None\n",
+    "        h5path = None\n",
     "    else:\n",
     "        timestamp = mdata.calibration_constant_version.begin_at.isoformat()\n",
-    "    \n",
-    "    return data, timestamp\n",
+    "        filepath = os.path.join(\n",
+    "            mdata.calibration_constant_version.hdf5path,\n",
+    "            mdata.calibration_constant_version.filename\n",
+    "        )\n",
+    "        h5path = mdata.calibration_constant_version.h5path\n",
+    "\n",
+    "    return data, timestamp, filepath, h5path\n",
+    "\n",
     "\n",
     "old_retrieval_pool = multiprocessing.Pool()\n",
     "old_retrieval_res = old_retrieval_pool.starmap_async(\n",
@@ -887,9 +895,13 @@
     "old_mdata = {}\n",
     "old_retrieval_res.wait()\n",
     "\n",
-    "for (qm, const), (data, timestamp) in zip(qm_x_const, old_retrieval_res.get()):\n",
+    "for (qm, const), (data, timestamp, filepath, h5path) in zip(qm_x_const, old_retrieval_res.get()):\n",
     "    old_const.setdefault(qm, {})[const] = data\n",
-    "    old_mdata.setdefault(qm, {})[const] = timestamp"
+    "    old_mdata.setdefault(qm, {})[const] = {\n",
+    "        \"timestamp\": timestamp,\n",
+    "        \"filepath\": filepath,\n",
+    "        \"h5path\": h5path\n",
+    "    }"
    ]
   },
   {
@@ -902,7 +914,17 @@
     "for qm, consts in old_mdata.items():\n",
     "    display(Markdown(f\"- {qm}\"))\n",
     "    for const in consts:\n",
-    "        display(Markdown(f\"    - {const} at {consts[const]}\"))"
+    "        display(Markdown(f\"    - {const} at {consts[const]['timestamp']}\"))\n",
+    "    # saving locations of old constants for summary notebook\n",
+    "    with open(f\"{out_folder}/old_constants_paths_{qm}.yml\", \"w\") as fd:\n",
+    "        yaml.safe_dump(\n",
+    "            {\n",
+    "                \"module\": qm,\n",
+    "                \"pdu\": qm_dict[qm][\"db_module\"],\n",
+    "                \"constants\": old_mdata[qm]\n",
+    "            },\n",
+    "            fd,\n",
+    "        )"
    ]
   },
   {