incorporate downstream logger changes
fix static/304 bug; CAPS store var names; use middldware at certain index