Fix check script