Redesigned overhaul of the URL et al detecting stuff