a proper go at getting config from url