Behave logically when scripts are turned off

Fixes #110