Add scripting mode