CSV validation script