script works in converting .bok to sql db and ES json