add script for publishing usage records