Move all settings into metadata