Raise exception, not assertion
Moved macro to [WSScript addressFromHash]