Works with pypy-sandbox (linux) + DB fixes