Adds code for menu