Change footer and clean up code.