Index: /trunk/psModules/src/detrend/pmShutterCorrection.c
===================================================================
--- /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10409)
+++ /trunk/psModules/src/detrend/pmShutterCorrection.c	(revision 10410)
@@ -9,6 +9,7 @@
 
 #include "pmFPA.h"
+#include "pmHDUUtils.h"
+#include "psVectorBracket.h"
 #include "pmShutterCorrection.h"
-#include "psVectorBracket.h"
 
 /// Measure shutter correction:
@@ -633,4 +634,14 @@
     }
 
+    pmHDU *hdu = pmHDUFromCell(cell);// HDU  of interest
+
+    psVector *md5 = psImageMD5(shutter->image); // md5 hash
+    psString md5string = psMD5toString(md5); // String
+    psFree(md5);
+    psStringPrepend(&md5string, "Shutter image MD5: ");
+    psMetadataAddStr(hdu->header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, md5string, "");
+    psFree(md5string);
+
+
     psImage *shutterImage = psImageSubset(shutter->image, region); // Subimage with shutter
     if (!shutterImage) {
@@ -648,7 +659,15 @@
         }
     }
-
     psFree(shutterImage);
 
+    psTime *time = psTimeGetNow(PS_TIME_TAI); // The time now, used for reporting
+    psString timeString = psTimeToISO(time); // String with time
+    psFree(time);
+    psStringPrepend(&timeString, "Shutter correction completed at ");
+    psMetadataAddStr(hdu->header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK,
+                     timeString, "");
+    psFree(timeString);
+
+
     return true;
 }
