Fix: Log file was hard-wired rather than using variable