update scanindel.py