updated run.py