How to replace hydrogens atoms for a specific atom in a molecular structure using a script?

Dear all,

How to replace hydrogens atoms for a specific atom in a molecular structure using Material Studio script?

Best regards,