Added the use of an program argument to specify the log file name.