load cask files correctly