added rewrites and 404