Correctly export everything and build the menu