attempt to find/detect the input and output uris when not explicitly specified