added script validator that checks the script contents for changes