Index: branches/eam_branch_20080109/ippTasks/detrend.stack.pro
===================================================================
--- branches/eam_branch_20080109/ippTasks/detrend.stack.pro	(revision 16023)
+++ branches/eam_branch_20080109/ippTasks/detrend.stack.pro	(revision 16149)
@@ -127,10 +127,6 @@
     book getword detPendingStackedImfile $pageName reduction -var REDUCTION
 
-    # specify choice of remote host:
-    if ($parallel)
-      host anyhost
-    else
-      host local
-    end
+    # specify choice of local or remote host based on camera and chip (class_id)
+    set.host.for.camera $camera $class_id
 
     if ("$WORKDIR" == "NULL")
