fix db conversion, hook into install script