add more detailed control of footer generation
add required variable
move contents to op-vars.el
fix issue: wrong variable name
add footer to page