Added Cook resources, some rewriting