use config settings to define widget state