Update scripts
Add inconsistency checker