Changed over to hollance's sqlite wrapper