refactored case statement in recipe_mods into an external hash