added auto-restarter