Index: trunk/tools/make_burntool_pcontrol.pl
===================================================================
--- trunk/tools/make_burntool_pcontrol.pl	(revision 26527)
+++ trunk/tools/make_burntool_pcontrol.pl	(revision 26670)
@@ -266,5 +266,7 @@
 	printf(" burntool %s %s\n",$date_min,$date_max);
     }
-    print "\n";
+    unless(exists($opt{d})) {
+        print "\n";
+    }
     $N_ranges += ($#start_s + 1);
 }
@@ -311,4 +313,8 @@
 }
 sub print_short_epilogue {
+    if (exists($opt{b})) {
+	print STDERR "There were no science exposures to process. Sorry, try again tomorrow.\n";
+	return();
+    }
     print << 'END_SHORT_EPILOGUE';
 
