Disable dynamic scripting by default

Closes #5853