Update run.py

fixed range issue