Index: /trunk/ippTools/src/pztool.c
===================================================================
--- /trunk/ippTools/src/pztool.c	(revision 9972)
+++ /trunk/ippTools/src/pztool.c	(revision 9973)
@@ -91,5 +91,5 @@
 
     if (config->where) {
-        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "newExp");
+        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "summitExp");
         psStringAppend(&query, " AND %s", whereClause);
         psFree(whereClause);
Index: /trunk/ippTools/src/pztoolConfig.c
===================================================================
--- /trunk/ippTools/src/pztoolConfig.c	(revision 9972)
+++ /trunk/ippTools/src/pztoolConfig.c	(revision 9973)
@@ -148,4 +148,17 @@
 
     addWhereStr(exp_tag); 
+    addWhereStr(telescope); 
+    // convert '-inst' to 'camera'
+    {
+        psString str = NULL;
+        bool status = false;
+        if ((str = psMetadataLookupStr(&status, config->args, "-inst"))) {
+            if (!psMetadataAddStr(config->where, PS_LIST_TAIL, "camera", 0, "==", str)) {
+                psError(PS_ERR_UNKNOWN, false, "failed to add item camera");
+                goto FAIL;
+            }
+        }
+    }
+    addWhereStr(exp_type); 
     addWhereStr(class); 
     addWhereStr(class_id); 
