 
 	@discardableResult
 	func execStatement(_ smt: String) throws {
-		printDebug(smt, [])
+//		printDebug(smt, [])
+
+		if let thisDB = connect?.database {
+			self.connection.database = thisDB
+		} else if !SQLiteConnector.db.isEmpty {
+			self.connection.database = SQLiteConnector.db
+		}
+
+
 		do {
 			let db = try self.connection.open()
 			try db.execute(statement: smt)

	@discardableResult
	func exec(_ smt: String) throws {

		printDebug(smt, [])

		do {
			let db = try self.connection.open()

	// Returns an id
	@discardableResult
	func execReturnID(_ smt: String, params: [String]) throws -> Any {
//		printDebug(smt, params)

		if let thisDB = connect?.database {
			self.connection.database = thisDB
		} else if !SQLiteConnector.db.isEmpty {
			self.connection.database = SQLiteConnector.db
		}

		do {
			let db = try self.connection.open()

