Update ScriptHandler.php

same here
Merge pull request #496 from Primajin/patch-2

Update ScriptHandler.php