Already fixed some things to make script working with new log version.