added indexfile script