 	// Returns an id
 	@discardableResult
 	func execReturnID(_ smt: String, params: [String]) throws -> Any {
-		printDebug(smt, params)
+//		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()
 

	// Returns a processed row set
	@discardableResult
	func execRows(_ smt: String, params: [String]) throws -> [StORMRow] {
		printDebug(smt, params)
		var rows = [StORMRow]()
//		let results = try exec(smt, params: params)
//		print(results[0].columnCount())

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

		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()
