preliminary tweak.  support "cooking logic" feature via xml logic description file.