Added script to reset and rebuild the index.