moved init_db script