adding new version of metrics script