revert ExternalInterface.cpp changes