Added logic to get recipes from a cookbook