Rearranging order of config file in serial.cpp.