Index: trunk/ippTasks/detrend.reject.pro
===================================================================
--- trunk/ippTasks/detrend.reject.pro	(revision 14085)
+++ trunk/ippTasks/detrend.reject.pro	(revision 14087)
@@ -68,9 +68,9 @@
     if ($DB:n == 0)
       option DEFAULT
-      command dettool -residdetrun -limit 20
+      command dettool -todetrunsummary -limit 20
     else
       # save the DB name for the exit tasks
       option $DB:$detRejectExp_DB
-      command dettool -residdetrun -limit 20 -dbname $DB:$detRejectExp_DB
+      command dettool -todetrunsummary -limit 20 -dbname $DB:$detRejectExp_DB
       $detRejectExp_DB ++
       if ($detRejectExp_DB >= $DB:n) set detRejectExp_DB = 0
