Fixed 500 page. Pulled code from 404 page and mostly pasted it in.