Moved serial variables to serial file