Added ability to save log