Index: trunk/ippScripts/scripts/detrend_norm_calc.pl
===================================================================
--- trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 10296)
+++ trunk/ippScripts/scripts/detrend_norm_calc.pl	(revision 10297)
@@ -66,5 +66,5 @@
     run \@command, \$stdin, \$stdout, \$stderr or
 	die "Unable to perform dettool -processedimfile on detrend $detId/$iter: $?";
-    print $stdout . "\n";
+#    print $stdout . "\n";
     
     # Because of the length, need to split into individual metadatas --- it parses SO much quicker!
@@ -79,5 +79,6 @@
 	    my $list = parse_md_list( $mdcParser->parse( join( "\n", @single ) ) ) or
 		die "Unable to parse output from dettool.\n";
-	    push @files, $list;
+	    push @files, @$list;
+	    @single = ();
 	}
     }
