Move settings to settings file