added script for creating database
updated database script