How to terminate surface atoms in a nanocluster with fragment

Hi all,

Could anybody please help me to find a way of how to automatically terminate the selected surface atoms of a nanocluster with a fragment from fragment browser? I can do it manually but when there are hundreds of atoms it becomes a pain.

Thanks!