added flag for settings.