created a check script