ping/restart script