error handling in validateAndRunScript, though no validation yet