Added check to see if xero was set up correctly