Add code to run ArkRef as an external tool