Fine-tuning livestock production systems to overcome challenges