Improve script timing.