Modifications to index template