Made disabling of the script actually working