Add sample scripts
Avoid confirmation dialog to update if the script dialog is not visible.
Simplify the error message when we run the script