Refactored code for list.options.url

Effects issue #166