index will now find scripts directly