Fix log path
Fix log path and script wrapper encoding set to UTF-8