added curl_debug.sh