cleaning up sample_cookbook so it can actually be used in tutorials