added UserAgent global, should have been in at the start