Added basic network query to handle redirects and fixed the default url