Index: trunk/ippScripts/scripts/addstar_run.pl
===================================================================
--- trunk/ippScripts/scripts/addstar_run.pl	(revision 34080)
+++ trunk/ippScripts/scripts/addstar_run.pl	(revision 34265)
@@ -94,4 +94,7 @@
 # Recipes to use based on reduction class
 $reduction = 'DEFAULT' unless defined $reduction;
+if ($stage =~/skycal/) {
+    $reduction = 'DEFAULT';
+}
 my $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR');
 # XXX This is now not used: do we still need it?
@@ -105,4 +108,10 @@
 #  $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR_STATICSKY'); # Recipe to use
 #}
+if ($stage =~/skycal/) {
+    $recipe_addstar = $ipprc->reduction($reduction, 'ADDSTAR'); # Recipe to use                                                              
+}
+
+
+
 &my_die("Unrecognised ADDSTAR recipe", $add_id, $PS_EXIT_CONFIG_ERROR) unless defined $recipe_addstar;
 
@@ -118,4 +127,9 @@
 my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT", $stageroot) or &my_die("Missing entry from camera config", $add_id, $PS_EXIT_CONFIG_ERROR);
 my $fpaObjectsAlt = $fpaObjects;
+
+if ($stage =~ /skycal/) {
+    #should be ok for skycal?
+    print "using $fpaObjects for $stage\n";
+}
 
 
@@ -162,9 +176,11 @@
     }
 }
-if (($stage =~/stack/)) {
+
+if (($stage =~/stack/ || $stage =~ /skycal/)) {
     $fpaObjects =~ s/smf$/cmf/;
     $fpaObjectsAlt =~ s/smf$/cmf/;
 
 }
+
 my $fpaObjects1;
 my $fpaObjects2;
