Changed wget to curl to support SSLv3 that wget doesn't