script attempt for footer
modified spacings
modified state readout