changing to have a router and a 404 page