add footer blocks and tweak headers