These need to be defined early as the below overwrite some of the configs