adding database script to repo