Reverted changes to url array

The original order was correct as these are being popped from the array.