changes to dbase script