Adds errit cookbook hooks