Index: trunk/ippTools/share/chiptool_processedimfile.sql
===================================================================
--- trunk/ippTools/share/chiptool_processedimfile.sql	(revision 12259)
+++ trunk/ippTools/share/chiptool_processedimfile.sql	(revision 14023)
@@ -7,5 +7,5 @@
     chipProcessedImfile.bg_mean_stdev,
     chipProcessedImfile.path_base,
-    rawExp.exp_id,
+    rawExp.exp_name,
     rawExp.camera,
     rawExp.telescope,
@@ -15,7 +15,7 @@
     USING(chip_id)
 JOIN rawExp
-    ON chipProcessedExp.exp_tag = rawExp.exp_tag
+    ON chipProcessedExp.exp_id = rawExp.exp_id
 WHERE
 -- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too
-    chipProcessedImfile.exp_tag is NOT NULL
+    chipProcessedImfile.exp_id is NOT NULL
 
