Added running flag to planner