main config