data base script