Creates index and style