Intergrate local/remote context connection usage