Moved some settings to constance