Fixes for darkshore.. core script and db.. i hope the last :-)