rewrite for getchef cookbooks