Change the scripting mode