stagingdb.py as of 11 Oct 2013