Script tweaking