changed file name from template to index