Perform scripting changes, handle runtime exception gracefully.