add script to check latency without ping