Updated the cookbook to try and set the directives.