Tweaking script.