updating to add compute_url functionality