added restart automatically checkbox