added the ability to change the log file