SSL check at the top of the script file!