Added packet handling for remote write operations