Reversed some changes to try and get the site working again.