Using curl in place of wget