add log to run.sh