Various metrics collection scripts