 The upper part continued to flourish, however, and for another 30 years it carried the Tranent coal down to the main line railway.About 1880 the coal merchant James Waldie took over the lease of the Tranent collieries and the waggonway.The waggonway was rebuilt as a standard-gauge railway with steam locomotives, and a junction was made with the North British Railway at Meadowmill.