Fixes for server harden script.