fix the paths for the new index script