Debianized and added submenu handler