db conversions and lonestar setup