motd: simplify and workify