NO_SSL check added