Add metadata injection to blackdetect