$config = $url and isn't always an array