Revert "fixed output file so index page displays"

This reverts commit 456a6673f06bc2e19cd20c7e90625ea24145f68c.
2nd attempt