added different functions to menus made the timer work, so automode works now