Building index file and addstyle page.