updated dbtbs script