Fix outcome flag bug
Fix external tool launch url