Template used to create a new empty script
Fixes for handling missing/non-existent script files.
Create a new script with minimal functionality
Other error fixes.