add metric script