adding get_urls and get_instance_ids