moved set_cpu_localconf to the end file