Added \r for line rewrite (instead of newline)