changes to support serial mode last mile.