Fix all issues with adding the url

@runchita20 I discovered several issues regarding adding the url.

I will comment inline the code what and why I have changed things.

If you try this it normally will work! 
Because you give `?` as value on line 30 you should pass it in an array to the execute method.