implement universal uri handler