Index: branches/pap/ippScripts/scripts/receive_advance.pl
===================================================================
--- branches/pap/ippScripts/scripts/receive_advance.pl	(revision 27708)
+++ branches/pap/ippScripts/scripts/receive_advance.pl	(revision 28003)
@@ -7,5 +7,7 @@
 use Sys::Hostname;
 my $host = hostname();
-print "Starting script $0 on $host\n\n";
+my $date = `date`;
+print "\n\n";
+print "Starting script $0 on $host at $date\n\n";
 
 use DateTime;
@@ -58,7 +60,6 @@
     &my_die( "Unable to set up", $fileset_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration
 
-# update the fileset entry
-
-if ($dbinfo_uri and ($dbinfo_uri ne "NULL")) {
+my $import_run_to_db = 0;
+if ($import_run_to_db and $dbinfo_uri and ($dbinfo_uri ne "NULL")) {
     my $filename = basename($dbinfo_uri);
     my ($stage) = $filename =~ m|^dbinfo\.(\S+)\.\d+\.mdc$|; # Stage of interest
@@ -100,4 +101,5 @@
 }
 
+# update the fileset entry
 # All done
 {
