migrate to cask and pallet