Changed how we check for custom metadata update and CSV file overwrite