Initial reindex script