Tweaking warning script