refactor base box and cookbooks