An autoloading script. Any script with the .AVSI extension in the AviSynth Plugins folder is automatically imported. This is useful for making script functions available to any new script you create without having to copy and paste. However, any code not wrapped in a function will be executed when the script starts up. Code in .AVSI files should be restricted to user-defined functions, global variable definitions, loading plugins and importing other scripts.