new db_gen - one scrip setup