Change metadata.rb file to remove the each loop.