add ofgwrite tool