Updated scope to use https.
New logging.