Replace wget with curl -L