Allow setting url from options object. closes #4