Changed database creation to use template0