added total usage plot generation