Added automatic restart.