Moved serial device setup