Added new functions in menu_magic