Refactored dynamic url code.