Updated flux and brick recipes to use new refactoring