Finish metrics script