script for collecting summary information for the dashboard