Fixed index script files.