Switched to client preferences and switched http to https in configuration files