Modified so that the script opens last week's log file.