add motd support