Add a script to check enum consistency