the client and datadir are now configurable