Index: trunk/ippScripts/scripts/ipp_serial_detrend.pl
===================================================================
--- trunk/ippScripts/scripts/ipp_serial_detrend.pl	(revision 11847)
+++ trunk/ippScripts/scripts/ipp_serial_detrend.pl	(revision 12573)
@@ -4,4 +4,6 @@
 use strict;
 
+use Getopt::Long;
+use Pod::Usage qw( pod2usage );
 use IPC::Cmd qw( can_run run );
 use PS::IPP::Metadata::Config;
@@ -61,10 +63,9 @@
 		my $det_type = $item->{det_type};
 		my $exp_tag = $item->{exp_tag};
-		my $class = $item->{class};
 		my $class_id = $item->{class_id};
 		my $uri = $item->{uri};
 		my $camera = $item->{camera};
 		
-		my $command = "$detrend_process_imfile --det_id $det_id --exp_tag $exp_tag --class $class --class_id $class_id --det_type $det_type --input_uri $uri --camera $camera --dbname $dbname";
+		my $command = "$detrend_process_imfile --det_id $det_id --exp_tag $exp_tag --class_id $class_id --det_type $det_type --input_uri $uri --camera $camera --dbname $dbname";
 		$command .= " --workdir $workdir" if defined $workdir;
 		my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
