Refactor cookbooks using newrelic plugin