Index: trunk/ippMonitor/def/simplePlotStackImage.d
===================================================================
--- trunk/ippMonitor/def/simplePlotStackImage.d	(revision 34432)
+++ trunk/ippMonitor/def/simplePlotStackImage.d	(revision 34436)
@@ -1,3 +1,3 @@
-TABLE stackRun, skycell 
+TABLE stackRun, stackSumSkyfile, skycell 
 TITLE New sky plot - stack
 FILE  simplePlotStackImage.php
@@ -5,4 +5,5 @@
 
 WHERE stackRun.state != 'new' 
+WHERE stackRun.stack_id = stackSumSkyfile.stack_id
 WHERE stackRun.skycell_id = skycell.skycell_id
 WHERE stackRun.tess_id = skycell.tess_id
@@ -11,7 +12,12 @@
 FIELD stackRun.stack_id,          5, %d,     Stack ID,        restrict
 FIELD stackRun.label,            10, %s,     Label, 	      restrict
-FIELD skycell.radeg,              8, %C,     RA, 	      restrict
-FIELD skycell.decdeg,             8, %C,     DEC, 	      restrict
+FIELD skycell.radeg,             10, %.6f,   RA (deg), 	      restrict
+FIELD skycell.decdeg,            10, %.6f,   DEC (deg),       restrict
 FIELD stackRun.filter,           10, %s,     FILTER, 	      restrict
+FIELD stackSumSkyfile.bg,	  5, %.2f,   BG,	      restrict
+FIELD stackSumSkyfile.bg_stdev,   5, %.2f,   BG STDEV,        restrict
+FIELD stackSumSkyfile.good_frac,  5, %.2f,   good_frac,       restrict
+FIELD stackSumSkyfile.quality,    5, %d,     quality,         restrict
+
 
 # What to plot
