Change order to ensure correct config() operation