add Generate Metrics script