sending commands as URI and setting locale