commit database script