New attempt to have the script generate a log-directory properly.