use config to set defaults