Changed over from wget to curl