added database script