Fix iourl fetching
Fix getting the iourl
Merge pull request #18 from nuclearace/refactorfixes

Refactorfixes