improve script document