update injection routine to be ok with correct document presets
update injection routine to be ok with correct document presets

dudalev/hyperopt,CVML/hyperopt,nicholas-leonard/hyperopt,allansp84/hyperopt,beni55/hyperopt,jaberg/hyperopt,466152112/hyperopt,mathkann/hyperopt,w1kke/hyperopt,dallascard/hyperopt