Yes , u are right
the purpose of reading or asking ppl to recite Mahayana sutra is to
allow the dying to reflect on the greatness of Great Vehicle and
allow ones to reborn in the Buddhaland
for theravada school , usually they usually recite the teaching of
the impermanence of life for the dying to reach arhatship