Make script_{valid,invalid}.json validation flags configurable