This is how we signal transport drivers scripts to deactivate (Bug #13297).
Need to set script inactive before removing it (Bug #13297).