As far as option 1 is concerned, I suppose there is be a function that does the automatic replacement.
Gaya malayo gaya pagpipilian 1 ay nag-aalala, Ipagpalagay na ko diyan ay maging isang function na gumagana ang automatic kapalit.