Fixed bug: trying to open logs before command line options are parsed