small tweak to passing in the log file and path