doc and script changes