Index: trunk/ippTasks/summit.copy.pro
===================================================================
--- trunk/ippTasks/summit.copy.pro	(revision 26378)
+++ trunk/ippTasks/summit.copy.pro	(revision 26397)
@@ -111,4 +111,5 @@
 
     task.exec
+#      echo "DB_DEBUG: PRE" $pztoolDatastore_DB $DB:$pztoolDatastore_DB
       if ($DB:n == 0)
         option DEFAULT
@@ -121,4 +122,7 @@
         if ($pztoolDatastore_DB >= $DB:n) set pztoolDatastore_DB = 0
       end
+
+      # More debug
+#      echo "DB_DEBUG: POST" $pztoolDatastore_DB $DB:$pztoolDatastore_DB
       periods -exec 120
     end
@@ -127,5 +131,5 @@
     task.exit 0
         # flush pzDataStore book
-        book init pzDataStore
+#        book init pzDataStore
         # convert 'stdout' to book format
         ipptool2book stdout pzDataStore -key camera:telescope -uniq -setword dbname $options:0
@@ -449,4 +453,14 @@
 	book getword pzDataStore $PZDSPAGE use_compress  -var USECOMPRESS
 
+	# Debug line
+#	echo "DEBUG: " $DBNAME $EXP_NAME $CAMERA $PZDSPAGE $USECOMPRESS
+
+        # unconditionally turn on requesting compression until we figuure
+        # out why the above doesn't work
+	if ($USECOMPRESS == "NULL") 
+#	if ("$CAMERA" == "gpc1") 
+	    $USECOMPRESS = 1
+	end
+
         $run = summit_copy.pl --uri $URI --filename $FILENAME --exp_name $EXP_NAME --inst $CAMERA --telescope $TELESCOPE --class $CLASS --class_id $CLASS_ID --bytes $BYTES --md5 $MD5SUM --dbname $DBNAME --timeout 120 --verbose --copies 2
 	if ($USECOMPRESS == 1) 
@@ -469,4 +483,6 @@
           echo command $run
         end
+	# More debug:
+#	echo "DEBUG2: " $run
         command $run
     end
