improvements to recipe handling