only trigger on index file