Fixes PHP errors, changes footer