Index: trunk/ippTools/src/pxinject.c
===================================================================
--- trunk/ippTools/src/pxinject.c	(revision 11138)
+++ trunk/ippTools/src/pxinject.c	(revision 11142)
@@ -100,13 +100,4 @@
         return false;
     }
-    psString exp_type = psMetadataLookupStr(&status, config->args, "-exp_type");
-    if (!status) {
-        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -exp_type");
-        return false;
-    }
-    if (!exp_type) {
-        psError(PS_ERR_UNKNOWN, true, "-exp_type is required");
-        return false;
-    }
     psS32 imfiles = psMetadataLookupS32(&status, config->args, "-imfiles");
     if (!status) {
@@ -127,20 +118,4 @@
         psError(PS_ERR_UNKNOWN, true, "-workdir is required");
         return false;
-    }
-
-    psTime *dateobs = NULL;
-    {
-        psString dateobsStr = psMetadataLookupStr(&status, config->args, "-dateobs");
-        if (!status) {
-            psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -dateobs");
-            return false;
-        }
-        // pass through NULL as this is an optional field
-        if (dateobsStr) {
-            dateobs = psTimeFromISO(dateobsStr, PS_TIME_UTC);
-        } else {
-            dateobs = NULL;
-        }
-
     }
 
@@ -156,6 +131,4 @@
                 camera,
                 telescope,
-                dateobs,
-                exp_type,
                 imfiles,
                 workdir
