script - fixing build-index typo