Fixes up database and the footer.