switch to curl since osx does not have wget