Replaced splitMessage with newline replacements