Recipe setup refactoring for future improvements