Index: trunk/ippScripts/scripts/detrend_stack.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_stack.pl	(revision 9004)
+++ trunk/ippScripts/scripts/detrend_stack.pl	(revision 9091)
@@ -22,4 +22,5 @@
     'det_type|t=s'      => \$det_type,
     'camera|c=s'        => \$camera,
+    'no-update'         => \$no_update
 ) or pod2usage( 2 );
 
@@ -111,5 +112,5 @@
 
 # Add the resultant into the database
-{
+unless ($no_update) {
     my $command = "$dettool -addstacked -det_id $det_id -iteration $iter -class_id $class_id" .
 	" -uri $outputStack -recip $recipe"; # Command to run
