made metric plot scripts