generate_recipe now takes and returns score; get_image now works