Closes #8
This maintains backwards compatibility by keeping the before_footer callback in lib.php
before_footer
lib.php