write command