The following custom script creates the CSV protocol definition files for the _replay-mobile_ image dataset from a bob 8 database. This dataset needs some metadata fields that are added in the CSV files:
-`should_flip` indicates if the data in the sample's image needs to be mirrored horizontally;
-`attack_type` indicates if a probe is an attack, and what type of attack is applied.
These fields are constructed from the filename of each sample and the type of file (model or probe) in the `add_metadata` function.