mw for saving constants and counting plots
Merge branch 'master' of https://github.com/digitalabs/IBPMiddleware