update the patch for new DCE (sockopt), createzones
update a bit for old script