switch wget to curl due to ssl issue