replaced more deprecated types with new conditionals
replaced more deprecated types with new conditionals for the ezproxy conf