modify script log.