Updates to enable actions and fixes the write log error if the log file isn't present.