changes to clients to make them work from distant machines