edits to handle static webpages