[fix] Index build script