Add option to toggle log message
Fix output file path