added menu for auto or manual mode