Fixed error in library stats, also now you can add logs