Get sqlite working