more versatile install_url method