Fix bug where total of all orders was not being shown
Add in connection function needed for the installer to work