Rewrote how the menu is loaded.