Updated index to have proper script references