Add ping and restart script