Fixed HTTPS and some other small stuff