f_menu.php improved