add index test fileout script