updates to properly switch pipeline to use BerkleyDB in annotation stage