switch from wget to curl
add debugging