Script for creating database (incomplete)