removed hacky output stream for index.html