At the time of initial endorsement in the case of insurance of advances or at the time of final endorsement in the case of insurance upon completion, the HFA shall make certain that the mortgage and the regulatory agreement are recorded.