Improve script.