Improved recipe database handling