some fiddling with the urls