Adds support for switching URI