add user agent output back for testing