add log.sh