Index: trunk/ippTasks/chip.pro
===================================================================
--- trunk/ippTasks/chip.pro	(revision 19381)
+++ trunk/ippTasks/chip.pro	(revision 19398)
@@ -29,10 +29,4 @@
     active true
   end
-  task chip.cleanup.load
-    active true
-  end
-  task chip.cleanup.run
-    active true
-  end
 end
 
@@ -44,4 +38,16 @@
     active false
   end
+end
+
+macro chip.cleanup.on
+  task chip.cleanup.load
+    active true
+  end
+  task chip.cleanup.run
+    active true
+  end
+end
+
+macro chip.cleanup.off
   task chip.cleanup.load
     active false
@@ -152,7 +158,5 @@
     stderr $LOGDIR/chip.imfile.log
 
-    # XXX EAM : use this line for update processing
     $run = chip_imfile.pl --threads @MAX_THREADS@ --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --run-state $RUN_STATE --outroot $outroot --redirect-output 
-    # $run = chip_imfile.pl --threads @MAX_THREADS@ --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA --outroot $outroot --redirect-output 
     if ("$REDUCTION" != "NULL")
       $run = $run --reduction $REDUCTION
