diff --git a/notebooks/LPD/LPD_Correct_and_Verify.ipynb b/notebooks/LPD/LPD_Correct_and_Verify.ipynb
index 4c2fafc5287430d8d5983632877d9e8f4db451a6..1732e84c78db765053b537a82bb0e19ad0a3a327 100644
--- a/notebooks/LPD/LPD_Correct_and_Verify.ipynb
+++ b/notebooks/LPD/LPD_Correct_and_Verify.ipynb
@@ -748,33 +748,27 @@
     "## Maxium Gain Value Reached ##\n",
     "\n",
     "The following plot shows the maximum gain value reached. It can be used as an indication of whether the detector went into saturation."
-   ]
+   ],
+   "metadata": {}
   },
   {
    "cell_type": "code",
    "execution_count": null,
+   "source": [
+    "gainpath = \"{}/image/gain\".format(h5path)\n",
+    "posarr = metro.positionFileList(in_files, gainpath, geometry_file, d_quads, nImages = 100)"
+   ],
+   "outputs": [],
    "metadata": {
     "ExecuteTime": {
      "end_time": "2018-11-13T18:25:03.090854Z",
      "start_time": "2018-11-13T18:25:01.568376Z"
     }
-   },
-   "outputs": [],
-   "source": [
-    "gainpath = \"{}/gain\".format(h5path)\n",
-    "posarr = metro.positionFileList(in_files, gainpath, geometry_file, d_quads, nImages = 100)"
-   ]
+   }
   },
   {
    "cell_type": "code",
    "execution_count": null,
-   "metadata": {
-    "ExecuteTime": {
-     "end_time": "2018-11-13T18:25:03.625885Z",
-     "start_time": "2018-11-13T18:25:03.092923Z"
-    }
-   },
-   "outputs": [],
    "source": [
     "fig = plt.figure(figsize=(15,15))\n",
     "ax = fig.add_subplot(111)\n",
@@ -782,7 +776,14 @@
     "im=ax.imshow((parr),  vmin=0, vmax=3)\n",
     "cb = fig.colorbar(im)\n",
     "cb.set_label(\"Intensity (ADU\")"
-   ]
+   ],
+   "outputs": [],
+   "metadata": {
+    "ExecuteTime": {
+     "end_time": "2018-11-13T18:25:03.625885Z",
+     "start_time": "2018-11-13T18:25:03.092923Z"
+    }
+   }
   },
   {
    "cell_type": "code",