Refactor default.rb recipe and regenerate metadata files