Fix setMotd
Fix casing issue
Fix error message placement