The government is fully committed to replace the mercury based technology into environment friendly technology to avert its harmful impact, Minister for Environment, Hamidullah Jan Afridi said on Thursday.