Added 404 and error pages.