attempt to write index html