Switching from wget to curl