Fixes #16. If a script is invalid, it now only displays a warning message