use new way of loading uris
Merge pull request #354 from scharf/issue_352

use new way of loading uris