Script Fixes for SSL