minor layout changes; dynamic footer code