adds default 404 handling and renaming htm to html