Properly replace previous motd