Updated index variable

Changed script paths