Index: trunk/tools/make_burntool_pcontrol.pl
===================================================================
--- trunk/tools/make_burntool_pcontrol.pl	(revision 25378)
+++ trunk/tools/make_burntool_pcontrol.pl	(revision 25443)
@@ -135,6 +135,13 @@
 	    $science{$obs_mode} = 0;
 	}
-
-	if (($science{$obs_mode} == 1)&&($comment !~ /Daytime/)) {
+#%science = ('MD' => 1, '3PI' => 1, 'STS' => 1, 'CAL' => 1, 'M31' => 1, 'SS' => 1,
+#	    'ENGINEERING' => 0, 'NULL' => 0, 'Unknown' => 0, ' ' => 0);
+
+	if ((($science{$obs_mode} == 1)&&($comment !~ /Daytime/))||
+	    (($science{$obs_mode} == 0)&&(
+					  ($comment =~ /MD/)||($comment =~ /3PI/)||
+					  ($comment =~ /STS/)||($comment =~ /M31/)||
+					  ($comment =~ /CAL/)||($comment =~ /SS/))))					  
+	{
 	    if ($start_s[-1] == 0) {
 		$start_s[-1] = $et - 1800;
