Update run task to use writeln.