organize config logic