Add back the http: prefix to switch url, was left out to easily switch betwenn http: and https:.