Updated to fit the newest version of Database Connector