Using curl instead of wget