Added the footer and implemented an option for pulling data from kin_options table.