Change to Connection in ExternalCommands.