Replace old magic.yml files