Added path length calculation and pronting to run.py and env files