updated CLI and avgestimator