Index: trunk/archive/scripts/src/pmCameraFromHeader.c
===================================================================
--- trunk/archive/scripts/src/pmCameraFromHeader.c	(revision 4092)
+++ trunk/archive/scripts/src/pmCameraFromHeader.c	(revision 4309)
@@ -2,5 +2,5 @@
 #include <string.h>
 #include "pslib.h"
-#include "psmodule.h"
+#include "papmodule.h"
 
 // Work out what camera we have, based on the FITS header and a set of rules specified in the IPP
@@ -31,5 +31,5 @@
 	} else if (instrumentItem->type == PS_META_STR) {
 	    psTrace(__func__, 5, "Reading instrument configuration for %s...\n", instrumentItem->name);
-	    instrument = psMetadataParseConfig(NULL, NULL, instrumentItem->data.V, true);
+	    instrument = psMetadataConfigParse(NULL, NULL, instrumentItem->data.V, true);
 	}
 
