Fixed index to use correct path