Updated to fit the newest version of the Database Connector