moved scope url out so we have access to it when scoping list urls