ENH Added flag in the script to pass the model type.