Changed add_metadata to set_metadata.
Added settings, apply 'em.