Fixed bugs in processing runner script