Hardening script