[COOK-3046] Default.rb fix

Changes default.rb to pass necessary variables to the template.