Tweaks for harden script.