update to client library to run locally