removed production mode stuff, deferring to ->debug instead