5b3164ee87
should be rewritten to the new scripting API Some additional diagnostics improvements are remained for possible future usage.