Metric collection scripts