Bug 515 Conditional arguemnt to gw_write