Improve script module docstrins and tuning