Fix ordering in main recipe