Added a variable to control SSL