more fixes for darkshire: core scripts and db