altered database creation script