diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
index 09ae91c6290de7d5e60cf75db81887d31292147d..dfab44ce17f1eb7ca37cbf8ac352f45638f3d3ac 100644
--- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
@@ -79,15 +79,14 @@
     "\n",
     "import dateutil.parser\n",
     "\n",
+    "import os\n",
     "from collections import OrderedDict\n",
-    "from functools import partial\n",
     "from typing import List, Tuple\n",
     "\n",
     "import h5py\n",
     "import matplotlib\n",
     "import numpy as np\n",
     "import tabulate\n",
-    "from cal_tools.agipdlib import get_acq_rate, get_num_cells\n",
     "from cal_tools.enums import BadPixels\n",
     "\n",
     "matplotlib.use('agg')\n",
@@ -98,17 +97,16 @@
     "\n",
     "import multiprocessing\n",
     "\n",
-    "from cal_tools.agipdlib import get_bias_voltage, get_gain_setting\n",
-    "from cal_tools.enums import BadPixels\n",
+    "from cal_tools.agipdlib import (get_acq_rate, get_bias_voltage,\n",
+    "                                get_gain_setting, get_num_cells)\n",
     "from cal_tools.plotting import (create_constant_overview, plot_badpix_3d,\n",
     "                                show_overview, show_processed_modules)\n",
     "from cal_tools.tools import (get_dir_creation_date, get_from_db,\n",
-    "                             get_notebook_name, get_pdu_from_db,\n",
-    "                             get_random_db_interface, get_report,\n",
-    "                             map_gain_stages, parse_runs,\n",
+    "                             get_pdu_from_db, get_random_db_interface,\n",
+    "                             get_report, map_gain_stages,\n",
     "                             run_prop_seq_from_path, save_const_to_h5,\n",
     "                             send_to_db)\n",
-    "from iCalibrationDB import Conditions, Constants, Detectors, Versions"
+    "from iCalibrationDB import Conditions, Constants, Detectors"
    ]
   },
   {
@@ -129,7 +127,7 @@
     "\n",
     "creation_time=None\n",
     "if use_dir_creation_date:\n",
-    "    creation_time = get_dir_creation_date(in_folder, run_high)\n",
+    "    creation_time = get_dir_creation_date(in_folder, run_high, verbosity=2)\n",
     "\n",
     "print(f\"Using {creation_time} as creation time of constant.\")\n",
     "\n",
@@ -389,7 +387,7 @@
     "    gg += 1\n",
     "\n",
     "with multiprocessing.Pool() as pool:\n",
-    "    results = pool.map(p, inp)\n",
+    "    results = pool.map(characterize_module, inp)\n",
     "\n",
     "for ii, r in enumerate(results):\n",
     "    offset, noise, gains, gains_std, gg, bp, thiscell, thisacq = r\n",
@@ -886,13 +884,6 @@
     "    display(Markdown('### {} [ADU], good pixels only ###'.format(const)))\n",
     "    md = display(Latex(tabulate.tabulate(table, tablefmt='latex', headers=header)))  "
    ]
-  },
-  {
-   "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
   }
  ],
  "metadata": {