diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
index 7ab1613d4bc28c294a532d4b4949ed975129362c..9bacba7d38bf9ea43fafa123ec0c248664c59f56 100644
--- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
+++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb
@@ -125,8 +125,10 @@
     "\n",
     "output_source_template = output_source_template or input_source_template\n",
     "\n",
-    "input_src = input_source_template.format(karabo_id, receiver_template)\n",
-    "output_src = output_source_template.format(karabo_id, receiver_template)\n",
+    "input_src = input_source_template.format(\n",
+    "    karabo_id=karabo_id, receiver=receiver_template)\n",
+    "output_src = output_source_template.format(\n",
+    "    karabo_id=karabo_id, receiver=receiver_template)\n",
     "out_folder.mkdir(parents=True, exist_ok=True)\n",
     "\n",
     "print(f\"Run is: {run}\")\n",
@@ -695,7 +697,7 @@
     "            # Create INDEX datasets.\n",
     "            outp_file.create_index(seq_dc.train_ids, from_file=seq_file)\n",
     "\n",
-    "            # Create METDATA datasets\n",
+    "            # Create METADATA datasets\n",
     "            outp_file.create_metadata(\n",
     "                like=seq_dc,\n",
     "                sequence=seq_file.sequence,\n",
@@ -732,8 +734,7 @@
     "            save_reduced_rois(outp_file, data_corr, mask_corr, local_karabo_da)\n",
     "\n",
     "            if output_src != input_src:\n",
-    "                outp_file[f'/INSTRUMENT/{input_src_kda}'] = h5py.SoftLink(f'/INSTRUMENT/{output_src_kda}')\n",
-    "                outp_file[f'/INDEX/{input_src_kda}'] = h5py.SoftLink(f'/INDEX/{output_src_kda}')\n",
+    "                outp_file.create_legacy_source(input_src, output_src)\n",
     "\n",
     "        step_timer.done_step(f'Saving data time.')\n",
     "if empty_seq == sum([len(i) for i in mapped_files.values()]):\n",