Update idxfile generator script