moved leader config above the file