improve script doc thing