Since you're appending instead of prepending now, I'd move `\n` from the end of this line to the beginning.