rejectUnauthorized and removed few files