added ssl flag