Documenting metrics script