update rebuild script; fix wysiwyg patch