Implemented the menu output tool.