Corrected a bug in runner script