Index: trunk/ippScripts/scripts/chip_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/chip_imfile.pl	(revision 13698)
+++ trunk/ippScripts/scripts/chip_imfile.pl	(revision 13748)
@@ -28,5 +28,5 @@
 use Pod::Usage qw( pod2usage );
 
-use constant RECIPE => 'PPIMAGE_OBDSFRA'; # Recipe to use
+my $RECIPE = 'PPIMAGE_OBDSFRA'; # Recipe to use
 
 # Parse the command-line arguments
@@ -95,6 +95,9 @@
     print "outputStats: $outputStats\n";
 
-    my $command = "$ppImage -file $input $outputRoot -recipe PPIMAGE " . RECIPE .
-	" -stat $outputStats"; # Command to run ppImage
+    my $command = "$ppImage -file $input $outputRoot";
+    $command .= " -recipe PPIMAGE $RECIPE";
+    $command .= " -recipe PPSTATS CHIPSTATS";
+    $command .= " -stats $outputStats"; # Command to run ppImage
+
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
 	run(command => $command, verbose => 1);
@@ -103,4 +106,5 @@
 	&my_die("Unable to perform ppImage: $error_code", $chip_id, $class_id, $error_code);
     }
+
     &my_die("Couldn't find expected output file: $outputImage\n", $chip_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputImage);
     &my_die("Couldn't find expected output file: $outputMask\n", $chip_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputMask);
