adding parameter for span and no-check-certificate