Added debug code to menu