Fix script & log path