added option to read logs