Change security config order