made it possible to specify the log file as an option