Updating to metadata.rb style