How to replace the VCS connection on workspaces using a script