Correctly implement /ua option