Update scripting tutorials to use new syntax where appropriate