Add codes to use live nodes list for dispatching