modifyign gadget file