Adjust stats script to use Payments; fix date-based loading