squash bug #4, path.log file breaks the scripts when interrupted