Fix tomatoanon script
Optimize the motd script a bit.