db and some script