Finished database setup script