Built index template, some other things too..