Use curl instead of wget for remaining functions.