Bug fix andsmall improvements to log parsing commenting + probe ratio script