UPGRADE: osdep doc and doc scripts