moved database creation script