auto log files and little pathching