Updated function calls in graph.py and fiexed RunnerScript to run in an interactive job