Tweaking execution of scripts