My changes to make this a framework for LiveHumanBot