add scanner and change the main menu