adding URL autodetect for choosing provider