Index: trunk/pstamp/src/pstamprequest.c
===================================================================
--- trunk/pstamp/src/pstamprequest.c	(revision 16898)
+++ trunk/pstamp/src/pstamprequest.c	(revision 16933)
@@ -105,9 +105,9 @@
     psMetadata *md = psMetadataAlloc();
     int         argnum;
-    bool        gotStyle = false;
+    bool        gotStyle  = false;
     bool        needCoord = false;
     bool        gotCenter = false;
-    bool        gotRange = false;
-    bool        needROI = true;
+    bool        gotRange  = false;
+    bool        needROI   = true;
     bool        makeStamps = true;
 
@@ -116,6 +116,7 @@
     psMetadataAdd (md, PS_LIST_TAIL, "VERSION", PS_DATA_STRING, "", STAMP_REQUEST_VERSION);
 
+    // These mode arguments should be consistent with pstampparse
     if ((argnum = psArgumentGet(argc, argv, "-list"))) {
-        psMetadataAdd (md, PS_LIST_TAIL, "CMD_MODE", PS_DATA_STRING, "", "LIST_URI");
+        psMetadataAdd (md, PS_LIST_TAIL, "CMD_MODE", PS_DATA_STRING, "", "list_uri");
         psArgumentRemove(argnum, &argc, argv);
         // we don't need coordinates if we're listing unless mode is -bycoord. May be set true below.
@@ -123,4 +124,15 @@
         makeStamps = false;
     }
+
+    if ((argnum = psArgumentGet(argc, argv, "-get_image"))) {
+        psMetadataAdd (md, PS_LIST_TAIL, "JOB_TYPE", PS_DATA_STRING, "", "get_image");
+        psArgumentRemove(argnum, &argc, argv);
+        // we don't need coordinates if we're listing unless mode is -bycoord. May be set true below.
+        needROI = false;    
+        makeStamps = false;
+    } else {
+        psMetadataAdd (md, PS_LIST_TAIL, "JOB_TYPE", PS_DATA_STRING, "", "stamp");
+    }
+
 
     // get project from command line
