Use curl instead of wget if possible