Add command reindex to script.py
Update warning message