make WS location agnostic