New log and other improvments