use new way of loading uris

#352