added ssl back in