Made some minor changes to the index template