Fix divide by zero in run.py