add enforceHTTPS var
update protocol for get-page-url