Fix validation script