Writing lines weren't writing multiple lines. Change should fix it.