Some more fixes, because the http and https are reversed in option 4.