Changes http to https in a couple of places