Index html written