fix script to support customize log path