Changed $root_url from http to https