Index: branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_createdb.pl
===================================================================
--- branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_createdb.pl	(revision 28171)
+++ branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_createdb.pl	(revision 28177)
@@ -204,6 +204,5 @@
 	my $parser = DateTime::Format::Strptime->new( pattern => '%Y-%m-%dT%H:%M:%S', time_zone => "HST" );
 	my $creation_dt = $parser->parse_datetime( $creation_date )->mjd;
-	if ($mjd_start- $creation_dt > $minidvodb_interval) { # && $addRun_count > 0 ) {
-	#if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) {
+	if ($mjd_start- $creation_dt > $minidvodb_interval && $addRun_count > 0 ) {
 	    #db is old and has stuff in it, want to create_new 
 	    $create_new = 1;
Index: branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_merge.pl
===================================================================
--- branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_merge.pl	(revision 28171)
+++ branches/haf_branches/ipp.20100512/ippScripts/scripts/minidvodb_merge.pl	(revision 28177)
@@ -87,7 +87,4 @@
 unless ($no_op) {
     if (defined $mergedvodbReal) {
-	my $mjd_relphot_start = DateTime->now->mjd;
-	my $lame = 1;
-	if ($lame ==2){
 	{
             my $command  = "$addstar -resort";
@@ -125,5 +122,5 @@
             $dtime_relphot = 86400.0*(DateTime->now->mjd - $mjd_relphot_start);   # MJD of starting script
             print "relphot time $dtime_relphot\n";
-        }}
+        }
 	
 	{
