tls check script