output s2 index to correct path