adding check script and graph script