consolidated url generation