Reorganize recipe programmatically