broke main() in recipe_run into smaller functions