added function get-root_url()