modified run file to use pandas