Allow specification of endpoint; fixes issues with EU bucket