Fixed a bug where the disable configuration did not affect external scripts.