Run script will now stop if there is any error in any stage.

Moved function utility functions to tigerParser.

Re-enabled custom error again.