Added hash checking of script file to look for differences instead of re-running same script. Fixes #143