added multiline support to motd