Ridiculous hack to initialize db.