Fixed issues with url building

Urls were failing for the executre anonymous but working for other
I've fixed it for all so correct urls are building everywhere
Merge pull request #3 from thegogz/master

Fixed issues with url building