tweak script.