Index: trunk/ippScripts/scripts/register_exp.pl
===================================================================
--- trunk/ippScripts/scripts/register_exp.pl	(revision 13590)
+++ trunk/ippScripts/scripts/register_exp.pl	(revision 13606)
@@ -72,4 +72,5 @@
                            "ccd_temp", # CCD temperature
                            "exp_time", # Exposure time
+                           "sat_pixel_frac", # Fraction of saturated pixels
                            "airmass", # Airmass
                            "ra", # Right ascension
@@ -160,9 +161,9 @@
 if (0) {
 # XXX for a test, randomly declare a failure and return to pantasks
-my $rnd = rand(1);
-if ($rnd > 0.5) {
-    warn ("random failure");
-    &my_die ($exp_tag, $PS_EXIT_DATA_ERROR);
-}
+    my $rnd = rand(1);
+    if ($rnd > 0.5) {
+	warn ("random failure");
+	&my_die ($exp_tag, $PS_EXIT_DATA_ERROR);
+    }
 }
 
Index: trunk/ippScripts/scripts/register_imfile.pl
===================================================================
--- trunk/ippScripts/scripts/register_imfile.pl	(revision 13590)
+++ trunk/ippScripts/scripts/register_imfile.pl	(revision 13606)
@@ -58,5 +58,5 @@
     and defined $uri;
 
-my $RECIPE = "PPSTATS_PHASE0"; # Recipe to use for ppStats
+my $RECIPE = "PPSTATS_REGISTER"; # Recipe to use for ppStats
 
 # These values should be constant for all components
@@ -79,6 +79,7 @@
 # The key is the name in the ppStats output; the value is the switch for "phase0 -updateexp"
 use constant VARIABLES => {
-    "CHIP.TEMP"    => "-ccd_temp", # CCD temperature
-    "CELL.EXPOSURE" => "-exp_time" # Exposure time
+    "CHIP.TEMP"      => "-ccd_temp", # CCD temperature
+    "CELL.EXPOSURE"  => "-exp_time", # Exposure time
+    "SAT_PIXEL_FRAC" => "-sat_pixel_frac" # fraction of saturated pixels
     };
 
